import diff from "./diff";

export default function render(virtualDOM,root,oldDom) {
   //在diff里面判断是否有旧的 Virtual DOM ,无论是否有旧的 Virtual DOM 都在diff里面判断
   diff(virtualDOM,root,oldDom)
}